package com.moore.bean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Apartment extends BaseEntity{

  private long id;
  private String areaName;
  private String communityName;
  private String roomNumber;
  private String name;
  private double area;
  private String image;
  private int rooms;
  private int bathrooms;
  private int livingRooms;
  private int balconies;
  private String remarks;
  private double monthlyRent;
  private String status;
  private int size;
  private int curr;
  private String building;
  private int areaMin;
  private int areaMax;
  private boolean isAllocated;

  public Apartment() {
  }

  public Apartment(String areaName, String communityName, String roomNumber, double area, int rooms, int bathrooms, int livingRooms, int balconies, String remarks, double monthlyRent, String status) {
    this.areaName = areaName;
    this.communityName = communityName;
    this.roomNumber = roomNumber;
    this.area = area;
    this.rooms = rooms;
    this.bathrooms = bathrooms;
    this.livingRooms = livingRooms;
    this.balconies = balconies;
    this.remarks = remarks;
    this.monthlyRent = monthlyRent;
    this.status = status;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getAreaName() {
    return areaName;
  }

  public void setAreaName(String areaName) {
    this.areaName = areaName;
  }

  public String getCommunityName() {
    return communityName;
  }

  public void setCommunityName(String communityName) {
    this.communityName = communityName;
  }
  
  public String getRoomNumber() {
    return roomNumber;
  }

  public void setRoomNumber(String roomNumber) {
    this.roomNumber = roomNumber;
  }

  @Override
  public String getName() {
    return name;
  }

  @Override
  public void setName(String name) {
    this.name = name;
  }

  public double getArea() {
    return area;
  }

  public void setArea(double area) {
    this.area = area;
  }

  public String getImage() {
    return image;
  }

  public void setImage(String image) {
    this.image = image;
  }

  public int getRooms() {
    return rooms;
  }

  public void setRooms(int rooms) {
    this.rooms = rooms;
  }

  public int getBathrooms() {
    return bathrooms;
  }

  public void setBathrooms(int bathrooms) {
    this.bathrooms = bathrooms;
  }

  public int getLivingRooms() {
    return livingRooms;
  }

  public void setLivingRooms(int livingRooms) {
    this.livingRooms = livingRooms;
  }

  public int getBalconies() {
    return balconies;
  }

  public void setBalconies(int balconies) {
    this.balconies = balconies;
  }

  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }

  public double getMonthlyRent() {
    return monthlyRent;
  }

  public void setMonthlyRent(double monthlyRent) {
    this.monthlyRent = monthlyRent;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public int getSize() {
    return size;
  }

  public void setSize(int size) {
    this.size = size;
  }

  public int getCurr() {
    return curr;
  }

  public void setCurr(int curr) {
    this.curr = curr;
  }

  public String getBuilding() {
    return building;
  }

  public void setBuilding(String building) {
    this.building = building;
  }

  public int getAreaMin() {
    return areaMin;
  }

  public void setAreaMin(int areaMin) {
    this.areaMin = areaMin;
  }

  public int getAreaMax() {
    return areaMax;
  }

  public void setAreaMax(int areaMax) {
    this.areaMax = areaMax;
  }

  public boolean isAllocated() {
    return isAllocated;
  }

  public void setAllocated(boolean allocated) {
    isAllocated = allocated;
  }
}
